package socket.wtyt.com.wtytsocket;

import java.util.ArrayList;
import java.util.Arrays;
import java.util.List;

/**
 * Created by duantianhui on 2018/3/21.
 */

public interface Consts {
    String OPEN_CMD_1 = "DSJ_TY_OP";
    String OPEN_CMD_2 = "DG_DIP_OP";
    String OPEN_CMD_3 = "DG_WL_OP";
    String OPEN_CMD_4 = "DG_KY_OP";
    String OPEN_CMD_5 = "DG_HX_OP";
    String OPEN_CMD_6 = "DG_HY_OP";
    String OPEN_CMD_7 = "DG_DG_OP";
    String OPEN_CMD_8 = "QM_PC_OP";     //之前的命令，延时 1000，  之后的命令，延时 3000
    String OPEN_CMD_9 = "DKH_PC_OP";
    String OPEN_CMD_10 = "KY_PC_OP";
    String OPEN_CMD_11 = "DSJ_PC1_OP";
    String OPEN_CMD_12 = "HX_PC1_OP";


    String CLOSE_CMD_1 = "DSJ_TY_CL";
    String CLOSE_CMD_2 = "DG_DIP_CL";
    String CLOSE_CMD_3 = "DG_WL_CL";
    String CLOSE_CMD_4 = "DG_KY_CL";
    String CLOSE_CMD_5 = "DG_HX_CL";
    String CLOSE_CMD_6 = "DG_HY_CL";
    String CLOSE_CMD_7 = "DG_DG_CL";
    String CLOSE_CMD_8 = "QM_PC_OP";     //之前的命令，延时 1000，  之后的命令，延时 3000
    String CLOSE_CMD_9 = "DKH_PC_OP";
    String CLOSE_CMD_10 = "KY_PC_OP";
    String CLOSE_CMD_11 = "DSJ_PC1_OP";
    String CLOSE_CMD_12 = "HX_PC1_OP";

    String DEF_SERVER_IP = "192.168.3.95";  //默认服务器ip
    String DEF_SERVER_PORT = "8193";             //默认服务器端口号

    public static final List<String> allCloseCmds = new ArrayList<>(Arrays.asList(
            "DSJ_TY_CL",
            "DG_DIP_CL",
            "DG_WL_CL",
            "DG_KY_CL",
            "DG_HX_CL",
            "DG_HY_CL",
            "DG_DG_CL",
            "QM_PC_OP",
            "DKH_PC_OP",
            "KY_PC_OP",
            "DSJ_PC1_OP",
            "HX_PC1_OP"));

    public static final List<String> allOpenCmds = new ArrayList<String>(Arrays.asList(
            "DSJ_TY_OP",
            "DG_DIP_OP",
            "DG_WL_OP",
            "DG_KY_OP",
            "DG_HX_OP",
            "DG_HY_OP",
            "DG_DG_OP",
            "QM_PC_OP",
            "DKH_PC_OP",
            "KY_PC_OP",
            "DSJ_PC1_OP",
            "HX_PC1_OP"));

}
